package com.wntms.ywa.service;


import com.wntms.ywa.pojo.Details;
import com.wntms.ywa.pojo.FreightContract;
import org.apache.ibatis.annotations.Delete;

import java.util.List;

public interface FreightService {

    public void add(FreightContract freightContract);

    public void deleteById(Integer id);

    public void deleteCustomerIn(Integer id);
    public void deleteCustomerInforation(Integer id);
    public void deleteFreightLine(Integer id);
    public void deleteFreightInformation(Integer id);

    public void update(FreightContract freightContract);

    public List<FreightContract> findIndex();
    public List<FreightContract> findByPage(Integer currentPage,Integer pageSize);

    public List<Details> findDetails(Integer id);

    public FreightContract findId(Integer id);
}
